﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace Admin.Admin
{
    public partial class Admin : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            //if ((Session["LOGIN"] == null) || (int)Session["ROLES"] != 1)
            //{
            //    Response.Redirect("Login.aspx");
            //}
            //LableAdmin.Text = Session["LOGIN"].ToString();
        }


        protected void btnlogout_Click(object sender, EventArgs e)
        {
            //Session["LOGIN"] = null;
            //Session["ROLES"] = null;
            //Response.Redirect("Login.aspx");
        }

        protected void btnread_Click(object sender, EventArgs e)
        {
            //Response.Redirect("News.aspx?Mode=false");

        }
    }
}
